package org.yxk;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.yxk.mp.UserMapper;

@RestController
public class TestController {
	@Autowired
	private UserMapper userMapper;
	@GetMapping("/test1")
	public Object test1() {
		return userMapper.selectAll();
		
	}
}
